<template>
  <div class="bg">
      <div class="left">
            <div class="tx">
                <img src="../assets/img/tx.png" alt="">
            </div>
              <div class="txt">
                  你有很多饭吃不下？<br>
                  做人要鬼使一点。<br>
                  蹲一个人，未必要在草里蹲他一辈子。<br>
                  我喜欢起飞，未必一定要出美甲的窃魂卷。<br>
                  我喜欢叮，难道要我开金身你让我拖一拖？<br>
                  我移速七伯多，难道要我停下来等着你？<br>
                  有时候装备买的太快，会失去黑切的。<br>
                  轻轻的，我溜了，正如我轻轻的来。<br>
                  逛一逛野区，不放过一个野怪。<br>
              </div>
      </div>
      <div class="bg1">
          <img class="xdc" src="../assets/img/xiduochuan.png" alt="">
          <img class="bb" src="../assets/img/banben.png" alt="">
      </div>
      <div :id="o" @click="open" class='deng1 deng'></div>
      <div class="out"><div class="rwall">茶泡饭</div></div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            o:'',
        }
    },
    methods:{
        open(){
            if(this.o === ''){
                this.o = 'open';
            }else{
                this.o = '';
            }
        },
    }
}
</script>

<style scoped>
.bg1{
    background-image: url(../assets/img/aboutbg.jpg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: hidden;
}
.xdc{
    position: absolute;
    transform: scale(0.3);
    left: 568px;
    top: 20px;
    transform-origin: bottom;
    transition: 0.3s ease;
}
.xdc:hover{
    transform: scale(0.3) rotateX(15deg) rotateY(5deg);
}
.bb{
    transform: scale(0.4);
    position: absolute;
    left: 820px;
    bottom: 5px;
    z-index: 99;
    transform-origin: bottom;
    transition: 0.3s ease;
}
.bb:hover{
    transform: scale(0.4) rotateX(15deg) rotateY(5deg);
}
.deng1{
    width: 100px;
    height: 100px;
    background-color: transparent;
    position: absolute;
    left: 870px;
    top: 73px;
    border-radius: 50%;
    transition: 0.5s ease;
}
.deng:hover{
    cursor: pointer;
}
#open{
    background-color: rgba(255, 229, 115, 0.4);
    box-shadow: 0 0 100px rgb(255, 229, 115),0 0 100px rgb(255, 229, 115);
    opacity: 0.7;
}
.out{
    perspective: 550px;
    position: absolute;
    top: 144px;
    left: 905px;
}
.rwall{
    font-size: 80px;
    color: rgb(0,0,0);
    transform-origin: right;
    transform: rotateY(290deg) rotateX(4deg) rotateZ(346deg);
    opacity: 0.4;
    transition: 0.3s ease;
    text-shadow: 0 0 15px rgba(0,0,0,1);
}
.rwall:hover{
    cursor: pointer;
    opacity: 0.5;
    transform: rotateY(290deg) rotateX(4deg) rotateZ(346deg) translateZ(15px);
}
.left{
    position: absolute;
    width: 320px;
    height: 500px;
    left: 100px;
    top: 100px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}
.tx{
    overflow: hidden;
    width: 70px;
    height: 70px;
    margin: 50px auto 30px;
    border-radius: 50%;
    border: 3px solid rgba(174, 255, 251, 0.4);
}
.tx img{
    width: 100%;
    position: relative;
    transform: translateY(-10px);
    transition: 0.3s ease;
}
.tx img:hover{
     transform: translateY(-10px) scale(1.1);
     cursor: pointer;
}
.txt{
    width: 270px;
    margin: 0 auto;
    line-height: 22px;
    color: rgb(238, 238, 238);
    text-shadow:  0 0 5px rgba(0,0,0,0.5);
}
</style>